x86: emulate I/O port access breakpoints
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Nov 2007 19:23:40 +0000 (19:23 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Nov 2007 19:23:40 +0000 (19:23 +0000)
commitbec9e3205018308bd6db4728277ae32c82dbc76a
treedfd3d366aa45c5c2099be4096cdd3609f09a21f6
parent8b831f41894b72eb28260edea0d892e3027535d9
x86: emulate I/O port access breakpoints

Emulate the trapping on I/O port accesses when emulating IN/OUT.

Also allow 8-byte breakpoints on x86-64 (and on i686 if the hardware
supports them), and tighten the condition for loading debug registers
during context switch.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/traps.c
xen/include/asm-x86/debugreg.h
xen/include/asm-x86/domain.h